﻿CREATE TABLE [dbo].[ProductCategories]
(
	CategoryId int IDENTITY(1,1) NOT NULL, 
	ParentCategoryId int DEFAULT(0) NOT NULL,
	CategoryDescription varchar(50) NOT NULL,
	Visible bit DEFAULT(1) NOT NULL

CONSTRAINT [PK_Category] PRIMARY KEY CLUSTERED (
	[CategoryId] ASC
)
	WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]